using ProtoBuf;

namespace Core;

[ProtoContract]
[CommandKey(CommandKey.Login)]
public sealed class LoginPacket : PlayPacketWithIdentifier
{
    [ProtoMember(1)] public override ushort Identifier { get; set; }
    
    [ProtoMember(2)] public string? Username { get; set; } = null!;

    [ProtoMember(3)] public string? Password { get; set; } = null!;
}